Count Frequencies Of All Elements In Array In Python Using Collections Module | Geeksforgeeks